package com.dmap.knowledge.service;

import com.dmap.knowledge.controller.api.param.ArticleColumnEditParam;
import com.dmap.knowledge.controller.api.param.ArticleColumnParam;
import com.dmap.knowledge.po.ArticleColumn;

import java.util.List;

public interface ArticleColumnService {
    /**
     * 通过id 查找articleColumn
     *
     * @param id
     * @return
     */
    public ArticleColumn selectArticleColumnById(long id);
    
    /**
     * 查看所有的articlecolumnAll
     *
     * @return
     */
    public List<ArticleColumn> selectArticleColumnAll();
    
    /**
     * 插入
     *
     * @param articleColumnParam
     * @return
     */
    public int insertArticleColumn(ArticleColumnParam articleColumnParam);
    
    /**
     * 批量删除
     *
     * @param columnIds
     * @return
     */
    public int deleteColumnList(String columnIds);
    
    /**
     * 删除
     *
     * @param articleColumnId
     * @return
     */
    public int deleteArticleColumn(long articleColumnId);
    
    /**
     * 更新
     *
     * @param articleColumnEditParam
     * @return
     */
    public int updateArticleColumn(ArticleColumnEditParam articleColumnEditParam);
    /**
     * 是否启用
     */
    public int  countStatusColumn(long articleColumnId);
    
    /**
     * 没有启用的articleColumn
     */
    public List<ArticleColumn>  selectArticleColumnNotOn();
    
}
